package com.dz.finance.common.exception;
import com.dz.finance.common.constant.ApiResponseCode;




/**
 * @author: DengHaoQi
 * @date: 2024/5/25 16:26
 * @description: 处理业务异常
 */

public class BizException extends BaseException {

    private static final long serialVersionUID = 628904681759624791L;

    public BizException(String message) {
        super(ApiResponseCode.BUSINESS_ERROR.getCode(), message);
    }

    public BizException(int code, String message) {
        super(code, message);
    }

    public BizException(String message, Throwable t) {
        super(message, t);
    }
}
